#ifndef COMMON_H
#define COMMON_H

	#define IS_NUMBER(x) (x>='0'&&x<='9')
	#define IS_CHAR(x)   ((x>='a'&&x<='z')||(x>='A'&&x<'Z'))  

	float str_to_float(const char* s); 
	
	void  copy_str_len(const char* src, char* dest, unsigned short len);
	
	void  to_upper(const char* src, char* dest);
	
	unsigned char str_eq(const  char* one, const char* two);
	
	unsigned char is_number(const char* s);

#endif
